<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});
Route::group(
    'mbyz', //路由前缀
    function () {
        Route::get('wxlogin', 'Wxlogin/login');
        Route::get('check_msg', 'Wxlogin/check_msg');
        Route::any('callback', 'Wxlogin/callback');
        Route::get('send_page', 'Wxlogin/send_page');
        Route::get('check_register', 'Wxlogin/check_register');
        Route::get('send_msg', 'Wxlogin/send_msg');
        Route::get('register', 'Wxlogin/register');
    }
)->prefix('mbyz/');  // 模块定义

